<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Insert title here</title>
</head>
<body>
<h2>get请求</h2>
<form action="/day08/getServlet" method="get">
  用户名：<input type="text" name="username" value="suoge" /> <br/>
  密码：<input type="text" name="password" value="1234" /> <br/>
  <input type="submit" value="get提交" />
</form>
<h2>post请求</h2>
<form action="/day08/postServlet" method="post">
  用户名：<input type="text" name="username" value="suoge" /> <br/>
  密码：<input type="text" name="password" value="1234" /> <br/>
  <input type="submit" value="post提交" />
</form>
</body>
</html>